package com.pat.example.server;

import com.pat.example.client.LoginService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@RemoteServiceRelativePath("greet")
public class LoginServiceImpl extends RemoteServiceServlet implements LoginService
{

	public boolean isValidLogin(String name, String pass)
	{
		boolean isOk = false;
		if( "lekha".equals(name) )
		{
			isOk = true;
		}
		
		return isOk;
	}

}
